#define _CRT_SECURE_NO_WARNINGS 1

#include "Queue.h"

void QueueTest1()
{
	Queue pq;
	QueueInit(&pq);
	QueuePush(&pq, 1);
	QueuePush(&pq, 2);
	QueuePush(&pq, 3);
	QueuePop(&pq);
	QueuePop(&pq);
	QueuePop(&pq);
	QueueDestroy(&pq);
}

void QueueTest2()
{
	Queue pq;
	QueueInit(&pq);

	QueuePush(&pq, 1);
	QueuePush(&pq, 2);
	printf("%d\n", QueueSize(&pq));

	QueuePop(&pq);
	printf("%d\n", QueueSize(&pq));

	QueuePop(&pq);
	printf("%d\n", QueueSize(&pq));

	QueueDestroy(&pq);
}

int main()
{
	//QueueTest1();
	QueueTest2();
	return 0;
}